package com.ffcs.web.model.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Direction entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wechat_direction")
public class Direction implements java.io.Serializable {

	// Fields

	private Integer id;
	private String directionName;
	private String directionUrl;

	// Constructors

	/** default constructor */
	public Direction() {
	}

	/** full constructor */
	public Direction(Integer id, String directionName, String directionUrl) {
		this.id = id;
		this.directionName = directionName;
		this.directionUrl = directionUrl;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "directionName", nullable = false, length = 50)
	public String getDirectionName() {
		return this.directionName;
	}

	public void setDirectionName(String directionName) {
		this.directionName = directionName;
	}

	@Column(name = "directionUrl", nullable = false, length = 200)
	public String getDirectionUrl() {
		return this.directionUrl;
	}

	public void setDirectionUrl(String directionUrl) {
		this.directionUrl = directionUrl;
	}

}